AVEVA OMI Software Developer Kit



ArchestrA.Client.RuntimeData Namespace > DataReference Class > Write Method : Write(Object,Action<DataReference,StatusSettingType>) Method
The value to be written
The call back for the write status. The DataReference is the reference to be written; The StatusSettingType contains the status of the Write operation.
Write(Object,Action<DataReference,StatusSettingType>) Method
Initiate the process to write the value to the reference. System will call back to update the write status thereafter.
Syntax
'Declaration
 
Public Overloads MustOverride Function Write( _
   ByVal value As Object, _
   ByVal writeStatusChangedAction As Action(Of DataReference,StatusSettingType) _
) As WriteOperationStatus
'Usage
 
Dim instance As DataReference
Dim value As Object
Dim writeStatusChangedAction As Action(Of DataReference,StatusSettingType)
Dim value As WriteOperationStatus
 
value = instance.Write(value, writeStatusChangedAction)

Parameters

value
The value to be written
writeStatusChangedAction
The call back for the write status. The DataReference is the reference to be written; The StatusSettingType contains the status of the Write operation.

Return Value

The status of the initiation process
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also